package com.designmodel.mediatormodel;

/**
 * Created by
 * 同事类B
 * @author touni
 * @date 2019/4/2
 * @time 12:43
 */
public class UserB extends MediatorUser{
    //接收消息



    public void communication(Mediator mediator) {


        System.out.println("B接收到A的消息了！！！");

    }
}
